using System;
using System.Collections.Generic;
using System.Text;
using MCromwell.StaffIntranet.Core;

namespace MCromwell.StaffIntranet.Task.Tasks
{
    public enum SessionInvalidationResult
    {
        Invalidated,
        NotFound
    }

    public interface IAuthenticationTask
    {
        bool AuthenticateAgainst(Credentials credentials, out Guid authenticationToken);
        bool CheckSessionAgainst(Guid sessionId);
        SessionInvalidationResult InvalidateSessionFor(Guid id);
    }
}
